package manager.goods;

import common.db.*;
import common.main.*;

public class GoodsDeImgInfoBean extends MainBean
{
	public void funcExecute() throws Exception
	{
		String gcode = (String)inputTable.get("gcode");
		
		queryBuffer = new StringBuffer("");
		queryBuffer.append("SELECT ");
		queryBuffer.append("G.SEQ, G.GCODE_SEQ, G.IMG_PATH, "); 
		queryBuffer.append("G.IMG_SIZE, G.OR_N, G.SA_N, "); 
		queryBuffer.append("G.EDIT_CONTENT, G.REG_ID, G.REG_DATE, G.REG_IP, "); 
		queryBuffer.append("G.UPD_ID, G.UPD_DATE, G.UPD_IP "); 
		queryBuffer.append("FROM GOODS_DETAIL_IMG G "); 
		queryBuffer.append("WHERE G.GCODE_SEQ='"+gcode+"'");

		DBExecute dbe = new DBExecute(queryBuffer.toString());
		outputList = dbe.getDataList();
	}
}
